﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" Title="Prueba de C#" CodeFile="~/Vista/ModificarUsuarioPassword.aspx.cs" Inherits="MasterPage2" %>
<%@ MasterType TypeName="MasterPage" %>

<asp:content id="Content1" contentplaceholderid="principal" runat="server">
<table border="0" cellspacing="0" class="fondo_azul">
    <tr>
        <td colspan="3" class="titulos">Modificar Password Usuario</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label6" runat="server" CssClass="campos_formulario" Text="Password:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="UsuPassword" MaxLength="50" runat="server" TextMode="Password"></asp:TextBox>
        </td>
        <td class="obligatorio">*</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label7" runat="server" CssClass="campos_formulario" Text="Confirmacion Password:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="UsuPasswordConfirm" MaxLength="50" runat="server" TextMode="Password"></asp:TextBox>
        </td>
        <td class="obligatorio">*</td>
        </tr>
        <tr>
            <td style="height:50px;" align="center" colspan="3">
                <asp:Button ID="Button2" runat="server" Text="Procesar" class="botones" OnClick="modificarPassUsuario" UseSubmitBehavior='false' />
            </td>
        </tr>
</table>    
    <asp:RequiredFieldValidator ID="rfvUsuPassword" runat="server" ControlToValidate="UsuPassword" ErrorMessage="El campo password no puede estar vacío"></asp:RequiredFieldValidator><br />
    <asp:CompareValidator ID="cvPassword" runat="server" ControlToCompare="UsuPasswordConfirm" ControlToValidate="UsuPassword" ErrorMessage="El campo password y confirmación password deben ser iguales"></asp:CompareValidator>
</asp:content>




